<div data-extend-template="layouts/partials/table.html">
  <div data-block="search-filter">
    <select class="form-control" ng-model="repositoryId" ng-options="repo.id as repo.name for repo in repositories"></select>
  </div>

  <table data-block="table" class="table table-striped table-bordered">
    <thead>
      <tr bst-table-head>
        <th bst-table-column translate>Name</th>
        <th bst-table-column translate>Version</th>
        <th bst-table-column translate>Commit</th>
      </tr>
    </thead>

    <tbody>
      <tr bst-table-row ng-repeat="branch in table.rows">
        <td bst-table-cell>
          <a ui-sref="ostree-branch.info({branchId: branch.id})">{{ branch.name }}</a>
        </td>
        <td bst-table-cell>{{ branch.version }}</td>
        <td bst-table-cell>{{ branch.commit }}</td>
      </tr>
    </tbody>
  </table>

</div>